!!! Strict
%html
  %head
    %title
      Jetty Rae Music
      = yield :title
    %meta{"http-equiv".to_sym => "Content-Type", :content => "text/html;charset=UTF-8"}
    = yield :meta
    = stylesheet_link_tag "reset.css"
    = stylesheet_link_tag "style.css"
    = yield :head
  %body
    #nav
      %a{:href => blog_posts_url, :title => "Jetty Rae's Blog"}
        %img{:src => "/images/layout/blog.jpg", :alt => "Blog"}
      %a{:href => songs_url, :title => "Jetty Rae's Music"}
        %img{:src => "/images/layout/tunes.jpg", :alt => "Music"}
      %a{:href => photos_url, :title => "Jetty Rae's Pictures"}
        %img{:src => "/images/layout/pics.jpg", :alt => "Pictures"}
      %a{:href => shows_url + "?display=upcoming", :title => "Jetty Rae's Shows"}
        %img{:src => "/images/layout/shows.jpg", :alt => "Shows"}
      %a{:href => videos_url, :title => "Jetty Rae's Video"}
        %img{:src => "/images/layout/videos.jpg", :alt => "Videos"}
    - if request.env['HTTP_USER_AGENT'] =~ /MSIE/
      #ie_top-spacer
    - else
      %a{:href => home_url, :title => "Jetty Rae's Home", :alt => "Home"}
        #top-spacer
    %a{:href => home_url, :title => "Jetty Rae's Home", :alt => "Home"}
      #right-spacer
    #hd
    - if flash[:error]
      %div.error= flash[:error]
    - if flash[:update]
      %div.update= flash[:update]
    #bd
      %div.page_description
        = yield :page_description
      = yield
    #clear_fix
    #ft
      %a{:href => "http://www.facebook.com/pages/Jetty-Rae/11467562434", :title => "Visit Jetty Rae's Facebook page"} Facebook
      |
      %a{:href => "http://www.myspace.com/jettyraemusic", :title => "Visit Jetty Rae's MySpace page"} MySpace
      |
      %a{:href => "http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=283569271", :title => "Buy Jetty Rae's music off iTunes"} iTunes
      |
      %a{:href => "http://www.amiestreet.com/jettyrae", :title => "Buy Jetty Rae's music on Amiestreet"} Amiestreet
      |
      %a{:href => "http://www.amazon.com/Blackberries/dp/B001BEE604/ref=sr_1_4?ie=UTF8&s=dmusic&qid=1215177405&sr=8-4", :title => "Buy Jetty Rae's music on Amazon.com"} Amazon
      |
      %a{:href => "http://free.napster.com/view/artist/index.html?id=12580896", :title => "Buy Jetty Rae's music on Napster"} Napster
      %p
        - if logged_in?
          %p
            Logged in as
            %a{:href => edit_user_url(current_user)}
              = current_user.login
            | 
            %a{:href => logout_url} logout
        - else
          %p
            %a{:href => login_url, :title => "Login to Jetty Rae's website to make comments on her music"} login
            |
            %a{:href => signup_url, :title => "Sign up on Jetty Rae's website to make comments on her music"} signup
      %script{:type => "text/javascript"}
        = "var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");"
        = "document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));"
      %script{:type => "text/javascript"}
        = "var pageTracker = _gat._getTracker(\"UA-4973940-1\");"
        = "pageTracker._initData();"
        = "pageTracker._trackPageview();"